package org.stream.answerduel.vo;

import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

/**
 * @author  郭榕
 * @date    2019/7/12  11:22
 *功能描述:封装需要传的好友列表数据，其中包括好友wechatid,好友的昵称，好友段位
 *
 */
@ApiModel("封装好友列表类:FriendVo")
@Slf4j
@Data
@Accessors(chain = true)
public class FriendVo implements Serializable  {

    //用户id
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty
    private long userId;

    //微信id
    @ApiModelProperty
    private String wechatID;

    //昵称
    @ApiModelProperty
    private String nickName;

    //微信头像URL
    @ApiModelProperty
    private String avatarUrl;

    //积分
    @ApiModelProperty
    private int score;

}
